package com.enation.app.shop.front.policyInsurance.appController;

import com.enation.framework.action.JsonResult;
import com.enation.framework.util.JsonResultUtil;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.ArrayList;
import java.util.List;

@Scope("prototype")
@Controller
@RequestMapping("/app/relationship")
public class RelationShipController {

    @ResponseBody
    @RequestMapping("/getRelation")
    public JsonResult getRelation(){
        List list =new ArrayList();
        list.add("其他");
        return JsonResultUtil.getObjectMessageJson(list,"");
    }
}
